* {
  margin: 0;
  padding: 0;
}
html {
  font-size: 10px;
}
input {
  outline: none;
}
body {
  width: 100rem;
  margin: -3rem auto;
}
/* 主体样式 */
main {
  width: 80%;

  margin: 0 auto;
}

.pic_logo {
  height: 20rem;

  background-image: url(img/baidu_logo.png);
  background-repeat: no-repeat;
  background-size: 35%;
  background-position: center;
  background-position-y: 6rem;
}

/* 整个搜索区 */
.select_area {
  height: 4.5rem;
  width: 90%;
  
  border-radius: 1rem;
  margin: 0 auto;

  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  overflow: hidden;
}

.input_area{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;

  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  border: 2px solid #c5c8cf;
  border-right: none ;

  flex-grow: 1;
}

.input_area:hover{
  border-color: #a7aab5;
}

/* JS操作的边框变蓝 */
.blue_border{
  border-color: #4e6ef2 !important;
}

/* 点击按钮（百度一下） */
.select_btn {
  width: 20%;
  font-size: 2rem;
  background-color: #4e6ef2;
  color: white;

  text-align: center;
  line-height: 4.5rem;
}

.select_btn:hover{
  background-color: #4662d9;
}

/* 搜索框 */
.select_area input {
  border: none;
  margin-left: 1.6rem;
  font-size: 2rem;

  flex-grow: 1;
}

/* 照相机logo */
.camera_logo,.del_btn{
  width: 5%;
  height: 3.2rem;
  margin-right: 1.6rem;

  background-color: white;

  /* 精灵图技术显示logo */
  background-image: url(./img/camera_logo.png);
  background-size: 100%;
  background-position-y: -5.6rem;

  align-self: center;
}

/* 照相机logo悬停 */
.camera_logo:hover {
  background-position-y: -8.45rem;
}

/* 删除按钮 */
.del_btn{
  background-image: none;

  font-size: 3.2rem;
  line-height: 3.2rem;
  text-align: center;

  color: #adb0ba;
  margin-top: -0.4rem;

  /* 初始化隐藏 */
  display: none;
}

/* 显示样式 */
.visible_btn{
  display: block !important;
}

/* 小手 */
.camera_logo,.del_btn,.select_btn{
  cursor: pointer;
}
